<table class="table table-bordered ">
    <thead>
    <tr class="text-center">
        <th  scope="col" colspan="2">时间</th>
        <th scope="col" >星期一</th>
        <th scope="col" >星期二</th>
        <th scope="col" >星期三</th>
        <th scope="col" >星期四</th>
        <th scope="col" >星期五</th>

    </tr>
    </thead>
    <tbody>
    <tr  th:each="m : ${map}">
        <th th:if="${m.key}=='0102'" rowspan="2" th:utext="'上</br>午'"></th>
        <th th:if="${m.key}=='0506'" rowspan="2" th:utext="'下</br>午'"></th>
        <td class="text-center" th:utext="${#strings.substring(m.key,1,2)}+'</br>'+${#strings.substring(m.key,3,4)}+'</br>节'"></td>
        <td th:each="m1 : ${m.value}">
            <div th:utext="${m1.value}"></div>
        </td>
    </tr>
    </tbody>
</table>